package com.ruoyi.HbUser.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 红包用户中间表 xyb_hb_user
 * 
 * @author ruoyi
 * @date 2019-07-30
 */
public class HbUser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 用户id */
	private Integer userId;
	/** 红包id */
	private Integer hbId;
	/** 红包编号 */
	private String bhId;
	/** 是否是永久优惠卷1是 2否 */
	private Integer isYj;
	/** 过期时间 */
	private String gqDate;
	/** 是否有效 1有效 0无效 */
	private Integer valid;
	/** 创建时间 */
	private String creactDate;
	/** 修改时间 */
	private Date modifyDate;
	/** 修改人 */
	private Integer modifyBy;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setHbId(Integer hbId) 
	{
		this.hbId = hbId;
	}

	public Integer getHbId() 
	{
		return hbId;
	}
	public void setBhId(String bhId) 
	{
		this.bhId = bhId;
	}

	public String getBhId() 
	{
		return bhId;
	}
	public void setIsYj(Integer isYj) 
	{
		this.isYj = isYj;
	}

	public Integer getIsYj() 
	{
		return isYj;
	}
	public void setGqDate(String gqDate) 
	{
		this.gqDate = gqDate;
	}

	public String getGqDate() 
	{
		return gqDate;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreactDate(String creactDate) 
	{
		this.creactDate = creactDate;
	}

	public String getCreactDate() 
	{
		return creactDate;
	}
	public void setModifyDate(Date modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public Date getModifyDate() 
	{
		return modifyDate;
	}
	public void setModifyBy(Integer modifyBy) 
	{
		this.modifyBy = modifyBy;
	}

	public Integer getModifyBy() 
	{
		return modifyBy;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("hbId", getHbId())
            .append("bhId", getBhId())
            .append("isYj", getIsYj())
            .append("gqDate", getGqDate())
            .append("valid", getValid())
            .append("creactDate", getCreactDate())
            .append("modifyDate", getModifyDate())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .toString();
    }
}
